package kr.saeildadim.androidexam_saeildamil.chapter5;

import kr.saeildadim.androidexam_saeildamil.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

public class Relateve extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
			setContentView(R.layout.relative);
	}
	public void mOnClick(View v){
		ImageView img =(ImageView) findViewById(R.id.relative_icon);
		if(img.getVisibility()==View.VISIBLE){
			img.setVisibility(View.GONE);
		}else{
			img.setVisibility(View.VISIBLE);
		}
	}
	public void mOnDrowPicter(View v){
		setContentView(R.layout.namecard);
	}
}
